home *** CD-ROM | disk | FTP | other *** search
- Some important things you should know about plugin programming:
-
- - RB's "Double" type in 68K is a 80 bit floating point type which
- corresponds to "Float80" in C (using the SANE floating point library).
- Plugin functions that returns such a "Double" value, will get a reference
- to a Float80 variable that they have to fill in with the return value
- instead of using the "return" statement in C. See the Starter project
- for an example (functions "sampleDblFunc" and "sampleDoubleGetter").
-
- - The "RB Plugin Plunger" can assist you in writing docs for the functions
- in the plugin, and gives an easy listing of them all in the "Plugin Structure" tab.
- The tool is available from my web page: http://www.tempel.org/rb/#RBpa
-
- - I (TT) did some fixes to the Plugin SDK code. You can use BBEdit or CW to find the
- differences between RS' and my version.
-
- - If you use a 68K-only plugin from a PPC-built app, passing Doubles will not work.
- To avoid trouble, I suggest you make sure you do have a PPC plugin if you want to build
- a PPC app, although at first it may appear as if a 68K-only plugin would work, too.
-
- - If you need help with other features, such as calling RB code throught handlers
- from your plugin, check out my other plugins. They all come with source code.
-
- Thomas Tempelmann, Jan 22, 2001
-